package com.r2coding.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.r2coding.common.util.PageUtils;
import com.r2coding.system.entity.PermissionEntity;
import com.r2coding.system.vo.req.PermissionReqVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author 98k灬
 * @email hk666zx@163.com
 * @date 2022-04-04 11:10:29
 */
public interface PermissionService extends IService<PermissionEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<PermissionEntity> selectList();

    void saveRolePermission(PermissionReqVo vo);

    List<PermissionEntity> getPermissionsByUserId(Integer userId);
}

